package xx.iverson.school_manage.service.impl;

import org.springframework.stereotype.Service;
import xx.iverson.school_manage.entity.LogEntry;
import xx.iverson.school_manage.mapper.LogsMapper;
import xx.iverson.school_manage.service.LogsService;

import javax.annotation.Resource;
import java.util.List;

/**
 * xx.iverson.school_manage.service.impl.LogsServiceImpl
 * <p>
 * on 2024/9/15
 *
 * @author weijx
 */
@Service
public class LogsServiceImpl implements LogsService {
    @Resource
    private LogsMapper logsMapper;

    @Override
    public List<LogEntry> getLogs() {
        return logsMapper.selectLogs();
    }
}
